package fr.enseirb.collabs.model;

import java.util.ArrayList;
import java.util.List;

public class Collaborator {

	private int id;
	
	private Profile profile;

	private List<Integer> skills;

	public Collaborator() {
		this(null);
	}

	public Collaborator(Profile validProfil) {
		this.profile = validProfil;
		this.skills = new ArrayList<Integer>();
	}

	public Profile getProfile() {
		return profile;
	}

	public void setProfile(Profile validProfil) {
		this.profile = validProfil;
	}

	public List<Integer> getSkills() {
		return skills;
	}

	public void addSkill(int id) {
		skills.add(id);
	}

	public void removeSkill(int id) {
		skills.remove(id);
	}
	
	public int getId(){
		return id;
	}
	
	public void setId(int id){
		this.id = id;
	}
}
